package grape.common.rest.form;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * 带有分页的查询树的基础表单
 * Created by yangwei
 * Created at 2019/7/27 16:25
 */
@Data
@EqualsAndHashCode(callSuper=false)
public class BaseTreePageForm extends BasePageForm {

    @ApiModelProperty(value = "父id")
    private String parentId;

    @ApiModelProperty(value = "是否包括孙子节点，在父id有值的情况下有效")
    private Boolean isIncludeGrandChildren;

}
